package com.yzh.wanandroid.utils.binding

import androidx.databinding.BindingAdapter
import androidx.swiperefreshlayout.widget.SwipeRefreshLayout


@BindingAdapter("isRefresh")
fun SwipeRefreshLayout.setRefresh(isRefresh: Boolean) {
    this.isRefreshing = isRefresh
}